<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>testdisk</Name>
        <Homepage>http://www.cgsecurity.org/index.html?testdisk.html</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Powerful free data recovery software</Summary>
        <Description>TestDisk is a multi-platform tool to check and undelete partitions; supports reiserfs, ntfs, fat32, ext2/3 and many others. Also includes PhotoRec to recover pictures from digital camera memory.</Description>
        <Archive sha1sum="58924599303e1f0dc08b556d215a3ac45292fac9" type="tarbz2">https://www.cgsecurity.org/testdisk-7.2-WIP.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>sudo</Dependency>
            <Dependency>ntfsprogs</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>reiserfsprogs</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>python-qt5-devel</Dependency>
            <Dependency>desktop-file-utils</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>testdisk</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>ntfs-3g</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>ntfsprogs</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>libutil-linux</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/bin/testdisk</Path>
            <Path fileType="executable">/usr/bin/fidentify</Path>
            <Path fileType="man">/usr/share/man/man8/testdisk.8</Path>
            <Path fileType="man">/usr/share/man/man8/fidentify.8</Path>
            <Path fileType="data">/usr/share/pixmaps/testdisk_logo.png</Path>
            <Path fileType="data">/usr/share/applications/testdisk.desktop</Path>
            <Path fileType="data">/usr/share/icons/hicolor/icon-theme.cache</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/photorec.desktop">photorec.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/testdisk.desktop">testdisk.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/photorec_logo.png">photorec_logo.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/testdisk_logo.png">testdisk_logo.png</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>qphotorec</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>ntfs-3g</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>testdisk</Dependency>
            <Dependency>python-qt5</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/photorec</Path>
            <Path fileType="executable">/usr/bin/qphotorec</Path>
            <Path fileType="man">/usr/share/man/man8/photorec.8</Path>
            <Path fileType="man">/usr/share/man/man8/qphotorec.8</Path>
            <Path fileType="data">/usr/share/pixmaps/photorec_logo.png</Path>
            <Path fileType="data">/usr/share/applications/photorec.desktop</Path>
            <Path fileType="data">/usr/share/applications/qphotorec.desktop</Path>
            <Path fileType="data">/usr/share/icons/hicolor/48x48/apps/qphotorec.png</Path>
            <Path fileType="data">/usr/share/icons/hicolor/scalable/apps/qphotorec.svg</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2022-06-12</Date>
            <Version>7.2</Version>
            <Comment>Rebuild for ntfs-3g</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2020-02-01</Date>
            <Version>7.2</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2018-10-03</Date>
            <Version>7.1</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
